﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopTree.Master" AutoEventWireup="true"
    CodeBehind="RightSet.aspx.cs" Inherits="Jzy.Web.WorkFlow.Design.RightSet" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1, .style2
        {
            padding: 5px;
        }
        .style1 textarea, .style2 textarea
        {
            width: 200px;
            height: 50px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    控件：<asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <div style="line-height: 20px; height:20px;">
    </div>
    <div id="list">
        <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr id="lvHeader" runat="server">
                <th>
                    节点
                </th>
                <th>
                    可编辑(默认只读)
                </th>
                <th>
                    不可见(默认可见)
                </th>
            </tr>
            <asp:Repeater ID="rpt" runat="server" onitemdatabound="rpt_ItemDataBound">
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Eval("Name") %><asp:HiddenField ID="hidID" Value='<%#Eval("ID") %>' runat="server" />
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="txtEdit" runat="server" TextMode="MultiLine" CssClass="txt" style="cursor:pointer;" ToolTip="单击进行选择" Text='<%#Eval("可编辑") %>'></asp:TextBox><asp:HiddenField
                                ID="hidEdit" Value='<%#Eval("可编辑ID") %>' runat="server" />
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="txtBrowse" runat="server" TextMode="MultiLine" CssClass="txt" style="cursor:pointer;" ToolTip="单击进行选择" Text='<%#Eval("不可见") %>'></asp:TextBox><asp:HiddenField
                                ID="hidBrowse" runat="server" Value='<%#Eval("不可见ID") %>' />
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" CssClass="btn" />&nbsp;&nbsp;
</asp:Content>
